/**
 * 
 */
package com.planner.core.service.rest.core;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author pradeep
 *
 */
@XmlRootElement(name="result")
public class RestListWrapper<T> {
	@XmlElementWrapper
	@XmlElement(name="type")
	private List<T> list;
	public RestListWrapper() {
		super();
	}
	public RestListWrapper(List<T> list) {
		super();
		this.list = list;
	}
	public List<T> getList() {
		return list;
	}
	
}
